/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package mediador;

/**
 *
 * @author Elise
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Mediator mediator = new ConcreteMediator();
        ConcreteCollegue1 c1 = new ConcreteCollegue1(mediator);
        ConcreteCollegue2 c2 = new ConcreteCollegue2(mediator);
        ConcreteCollegue3 c3 = new ConcreteCollegue3(mediator);

        
        
        c1.fazerAlgoLegal();
        c2.fazerAlgoChato();
        c3.fazerAlgoDificil();

    }

}
